tools: Use PTHREAD_CFLAGS, _LDFLAGS, _LIBS
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 11 Apr 2012 13:14:13 +0000 (14:14 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 11 Apr 2012 13:14:13 +0000 (14:14 +0100)
commit9c09f9dec695c7035a4ab6a338e767d0d8a54b0c
tree7e022a163918a40df6c50c9ed533595fd86bd3d9
parent361145d1e38e9ea99fe29b025ef38e6caeb16fd2
tools: Use PTHREAD_CFLAGS, _LDFLAGS, _LIBS

Replace all literal occurrences of -lpthread and -pthread in Makefiles
by references to PTHREAD_CFLAGS, PTHREAD_LDFLAGS and PTHREAD_LIBS.
These are the new variables set by configure, and currently expand to
-pthread on the compilation and link lines as is required.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/blktap/drivers/Makefile
tools/libfsimage/common/Makefile
tools/vtpm_manager/manager/Makefile
tools/xenpaging/Makefile